<?php
include_once("codelibrary/inc/variables.php");
include_once("session.php");
include_once("codelibrary/inc/functions.php");

$business_id = $_SESSION['business_id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<table cellpadding=1 cellspacing=1 border=1>
		   <tr>
		      <td  style="background-color:#999999">&nbsp;</td>
<?php
$getstaff_sql = "select * from staff where business_id='$business_id' order by staff_id";
$getstaff_query = mysql_query($getstaff_sql);

while($getstaff_data = mysql_fetch_array($getstaff_query))
					{
					  
					   $screen_name = $getstaff_data['screen_name'];
					 
					   ?>
					   <td  style="background-color:#999999"><?=$screen_name;?></td>
					   <?php
					}
					reset($getstaff_data);
?>
       </tr>
	   <tr>
	   <td  style="background-color:#999999">&nbsp;</td>
	   <?php
/*$getstaff_sql_1 = "select * from staff where business_id='$business_id' order by staff_id";
$getstaff_query_1 = mysql_query($getstaff_sql_1);	*/   
	   while($getstaff_data = mysql_fetch_array($getstaff_query))
					{
					   echo $staffid = $getstaff_data['staff_id'];
					  
					   ?>
					   <td  style="background-color:#999999"><?=$staffid;?></td>
					   <?php
					}
?>
       </tr>
	   
</body>
</html>
